<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>贪吃蛇</title>
</head>
<body>
    <div class="main">
        <div class="stage">
            <!-- 设置蛇 -->
            <div id="snack">
                <div style="background-color: blue; z-index: 9;"></div>
            </div>
            <!-- 食物 -->
            <div id="food">
                <div></div>
                <div></div>
                <div></div>
                <div></div>
            </div>
        </div>
        <div class="score-panel">
            <div>
                分数：<span class="score">0</span>
            </div>
            <div>
                等级：<span class="level">1</span>
            </div>
        </div>
    </div>
</body>
</html>